<template>
  <div class="bigData-menu">
    <div @click="back" class="back_btn"><img src="@/assets/back_btn.png" alt=""></div>
    <a target="blank" href="http://show.linkpow.cn:8080/bigdata/emergency/index.html" class="btn b1">
      <el-image fit="cover" :src="require('@/assets/bigData_btn.png')"></el-image>
    </a>
    <a target="blank" href="http://show.linkpow.cn:8080/bigdata/community/index.html" class="btn b2">
      <el-image fit="cover" :src="require('@/assets/village_btn.png')"></el-image>
    </a>
    <a target="blank" href="http://show.linkpow.cn:8080/bigdata/advertisement/index.html" class="btn b3">
      <el-image fit="cover" :src="require('@/assets/media_btn.png')"></el-image>
    </a>
    <div class="cp">Copyright ©2012-2020. All Rights Reserved 凌波技术有限公司</div>
  </div>
</template>

<script>
export default {
  name: 'bigDataMenu',
  mounted() {
    this.$storage.set('upUrl', JSON.stringify({ 'path': '/bigDataMenu' }))
  },
  methods:{
    back(){
      this.$router.back();
    }
  }
}
</script>

<style lang="scss" scoped>
.bigData-menu {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  background: url("~@/assets/bigData_bg.png") no-repeat;
  background-size: cover;
  overflow: hidden;
  .back_btn{
    position: absolute;
    top: 40px;
    right: 50px;
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
  }
  .back_btn:hover{
    transform: scale(1.2);
  }
  .cp {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #ccc;
    font-size: 14px;
  }
  .btn {
    width: 320px;
    font-size: 24px;
    font-weight: bold;
    line-height: 80px;
    text-align: center;
    border-radius: 5px;
    opacity: 0.8;
    transform: translate3d(-100%, 0, 0);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .btn:hover {
    opacity: 1;
    padding: 0 20px;
  }
}
.b1 {
  animation: move1 1.2s ease 0.5s 1;
  animation-fill-mode: both;
}
.b2 {
  animation: move2 1s ease 1s 1;
  animation-fill-mode: both;
}
.b3 {
  animation: move3 1s ease 1.5s 1;
  animation-fill-mode: both;
}
@keyframes move1 {
  0% {
    opacity: 0;
    transform: translate3d(-100%, 0, 0) skewX(50deg) rotateX(360deg) scale(3.5);
  }
  40% {
    transform: translate3d(70%, 0, 0);
  }
  60% {
    transform: translate3d(30%, 0, 0);
  }
  80% {
    transform: translate3d(60%, 0, 0) scale(0.85);
  }
  90% {
    transform: translate3d(40%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(50%, 0, 0) skewX(0deg) rotateX(0deg) scale(1);
  }
}
@keyframes move2 {
  0% {
    opacity: 0;
    transform: translate3d(-100%, 0, 0) skewX(50deg) rotateX(360deg) scale(3.5);
  }
  40% {
    transform: translate3d(120%, 0, 0);
  }
  60% {
    transform: translate3d(80%, 0, 0);
  }
  80% {
    transform: translate3d(110%, 0, 0) scale(0.85);
  }
  90% {
    transform: translate3d(90%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(100%, 0, 0) skewX(0deg) rotateX(0deg) scale(1);
  }
}
@keyframes move3 {
  0% {
    opacity: 0;
    transform: translate3d(-100%, 0, 0) skewX(50deg) rotateX(360deg) scale(3.5);
  }
  40% {
    transform: translate3d(170%, 0, 0);
  }
  60% {
    transform: translate3d(130%, 0, 0);
  }
  80% {
    transform: translate3d(160%, 0, 0) scale(0.85);
  }
  90% {
    transform: translate3d(140%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(150%, 0, 0) skewX(0deg) rotateX(0deg) scale(1);
  }
}
</style>